<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: geo3dml::LineString Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegeo3dml.html">geo3dml</a></li><li class="navelem"><a class="el" href="classgeo3dml_1_1_line_string.html">LineString</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classgeo3dml_1_1_line_string-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">geo3dml::LineString Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="geo3dml_2_line_string_8h_source.html">LineString.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geo3dml::LineString:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgeo3dml_1_1_line_string.png" usemap="#geo3dml::LineString_map" alt=""/>
  <map id="geo3dml::LineString_map" name="geo3dml::LineString_map">
<area href="classgeo3dml_1_1_geometry.html" title="A Geometry object is thread safe." alt="geo3dml::Geometry" shape="rect" coords="0,56,122,80"/>
<area href="classgeo3dml_1_1_object.html" alt="geo3dml::Object" shape="rect" coords="0,0,122,24"/>
<area href="classg3dvtk_1_1_line_string.html" alt="g3dvtk::LineString" shape="rect" coords="0,168,122,192"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac87b46bfdf0cf34fc86f5e934d0e4911" id="r_ac87b46bfdf0cf34fc86f5e934d0e4911"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac87b46bfdf0cf34fc86f5e934d0e4911">LineString</a> ()</td></tr>
<tr class="separator:ac87b46bfdf0cf34fc86f5e934d0e4911"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bf0fb8e1cb411a1ce0ffc6499027d66" id="r_a1bf0fb8e1cb411a1ce0ffc6499027d66"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1bf0fb8e1cb411a1ce0ffc6499027d66">~LineString</a> ()</td></tr>
<tr class="separator:a1bf0fb8e1cb411a1ce0ffc6499027d66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada9c2ab2fbe217e196dda57e14ccd56a" id="r_ada9c2ab2fbe217e196dda57e14ccd56a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ada9c2ab2fbe217e196dda57e14ccd56a">AddVertex</a> (double x, double y, double z)=0</td></tr>
<tr class="separator:ada9c2ab2fbe217e196dda57e14ccd56a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ad56b15a428987ef3ac1e3e0458fa61" id="r_a9ad56b15a428987ef3ac1e3e0458fa61"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9ad56b15a428987ef3ac1e3e0458fa61">GetVertexCount</a> () const =0</td></tr>
<tr class="separator:a9ad56b15a428987ef3ac1e3e0458fa61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6060426cda9ef4e25a53179f4bd4bc16" id="r_a6060426cda9ef4e25a53179f4bd4bc16"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6060426cda9ef4e25a53179f4bd4bc16">GetVertexAt</a> (int i, double &amp;x, double &amp;y, double &amp;z) const =0</td></tr>
<tr class="separator:a6060426cda9ef4e25a53179f4bd4bc16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgeo3dml_1_1_geometry"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classgeo3dml_1_1_geometry')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgeo3dml_1_1_geometry.html">geo3dml::Geometry</a></td></tr>
<tr class="memitem:ab210ffa3ca5f10b0cea4e6727584e456 inherit pub_methods_classgeo3dml_1_1_geometry" id="r_ab210ffa3ca5f10b0cea4e6727584e456"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_geometry.html#ab210ffa3ca5f10b0cea4e6727584e456">Geometry</a> ()</td></tr>
<tr class="separator:ab210ffa3ca5f10b0cea4e6727584e456 inherit pub_methods_classgeo3dml_1_1_geometry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d53b3cd3b262465ba7210a9592e672f inherit pub_methods_classgeo3dml_1_1_geometry" id="r_a3d53b3cd3b262465ba7210a9592e672f"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_geometry.html#a3d53b3cd3b262465ba7210a9592e672f">~Geometry</a> ()</td></tr>
<tr class="separator:a3d53b3cd3b262465ba7210a9592e672f inherit pub_methods_classgeo3dml_1_1_geometry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd6111ed42f06c5ea187141d97fa094f inherit pub_methods_classgeo3dml_1_1_geometry" id="r_afd6111ed42f06c5ea187141d97fa094f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structgeo3dml_1_1_box3_d.html">Box3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_geometry.html#afd6111ed42f06c5ea187141d97fa094f">GetMinimumBoundingRectangle</a> () const =0</td></tr>
<tr class="memdesc:afd6111ed42f06c5ea187141d97fa094f inherit pub_methods_classgeo3dml_1_1_geometry"><td class="mdescLeft">&#160;</td><td class="mdescRight">计算几何对象的最小外包矩形.  <br /></td></tr>
<tr class="separator:afd6111ed42f06c5ea187141d97fa094f inherit pub_methods_classgeo3dml_1_1_geometry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44215d48ecfd06bb464d8c6076da766f inherit pub_methods_classgeo3dml_1_1_geometry" id="r_a44215d48ecfd06bb464d8c6076da766f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_geometry.html#a44215d48ecfd06bb464d8c6076da766f">SetProperty</a> (<a class="el" href="classgeo3dml_1_1_shape_property.html">ShapeProperty</a> *prop, <a class="el" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">ShapeProperty::SamplingTarget</a> t)</td></tr>
<tr class="memdesc:a44215d48ecfd06bb464d8c6076da766f inherit pub_methods_classgeo3dml_1_1_geometry"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置几何对象关联的属性场对象。  <br /></td></tr>
<tr class="separator:a44215d48ecfd06bb464d8c6076da766f inherit pub_methods_classgeo3dml_1_1_geometry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbd5dd616200f703792b3c3885ff84e7 inherit pub_methods_classgeo3dml_1_1_geometry" id="r_abbd5dd616200f703792b3c3885ff84e7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeo3dml_1_1_shape_property.html">ShapeProperty</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_geometry.html#abbd5dd616200f703792b3c3885ff84e7">GetProperty</a> (<a class="el" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">ShapeProperty::SamplingTarget</a> t) const</td></tr>
<tr class="memdesc:abbd5dd616200f703792b3c3885ff84e7 inherit pub_methods_classgeo3dml_1_1_geometry"><td class="mdescLeft">&#160;</td><td class="mdescRight">取几何对象关联属性场。  <br /></td></tr>
<tr class="separator:abbd5dd616200f703792b3c3885ff84e7 inherit pub_methods_classgeo3dml_1_1_geometry"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgeo3dml_1_1_object"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classgeo3dml_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgeo3dml_1_1_object.html">geo3dml::Object</a></td></tr>
<tr class="memitem:a9d1e9d56ffd3f4e6e4c568ef64fc1130 inherit pub_methods_classgeo3dml_1_1_object" id="r_a9d1e9d56ffd3f4e6e4c568ef64fc1130"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_object.html#a9d1e9d56ffd3f4e6e4c568ef64fc1130">Object</a> ()</td></tr>
<tr class="separator:a9d1e9d56ffd3f4e6e4c568ef64fc1130 inherit pub_methods_classgeo3dml_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba98285ff2a966457ab77c3843c4a511 inherit pub_methods_classgeo3dml_1_1_object" id="r_aba98285ff2a966457ab77c3843c4a511"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_object.html#aba98285ff2a966457ab77c3843c4a511">~Object</a> ()</td></tr>
<tr class="separator:aba98285ff2a966457ab77c3843c4a511 inherit pub_methods_classgeo3dml_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1345c5e0d1d09c3a83f703682baefa70 inherit pub_methods_classgeo3dml_1_1_object" id="r_a1345c5e0d1d09c3a83f703682baefa70"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_object.html#a1345c5e0d1d09c3a83f703682baefa70">GetID</a> () const</td></tr>
<tr class="separator:a1345c5e0d1d09c3a83f703682baefa70 inherit pub_methods_classgeo3dml_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeff3db60972171b6b700227948c2ab55 inherit pub_methods_classgeo3dml_1_1_object" id="r_aeff3db60972171b6b700227948c2ab55"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_object.html#aeff3db60972171b6b700227948c2ab55">SetID</a> (const std::string &amp;id)</td></tr>
<tr class="separator:aeff3db60972171b6b700227948c2ab55 inherit pub_methods_classgeo3dml_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classgeo3dml_1_1_object"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_static_methods_classgeo3dml_1_1_object')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classgeo3dml_1_1_object.html">geo3dml::Object</a></td></tr>
<tr class="memitem:a9f8edb75ec9cfa7e45ea87ec452111f0 inherit pub_static_methods_classgeo3dml_1_1_object" id="r_a9f8edb75ec9cfa7e45ea87ec452111f0"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeo3dml_1_1_object.html#a9f8edb75ec9cfa7e45ea87ec452111f0">NewID</a> ()</td></tr>
<tr class="memdesc:a9f8edb75ec9cfa7e45ea87ec452111f0 inherit pub_static_methods_classgeo3dml_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">生成一个新的对象ID。  <br /></td></tr>
<tr class="separator:a9f8edb75ec9cfa7e45ea87ec452111f0 inherit pub_static_methods_classgeo3dml_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac87b46bfdf0cf34fc86f5e934d0e4911" name="ac87b46bfdf0cf34fc86f5e934d0e4911"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac87b46bfdf0cf34fc86f5e934d0e4911">&#9670;&#160;</a></span>LineString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">geo3dml::LineString::LineString </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a1bf0fb8e1cb411a1ce0ffc6499027d66" name="a1bf0fb8e1cb411a1ce0ffc6499027d66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bf0fb8e1cb411a1ce0ffc6499027d66">&#9670;&#160;</a></span>~LineString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual geo3dml::LineString::~LineString </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="classg3dvtk_1_1_line_string.html#a22241718eba820b0528126d5514c13b6">g3dvtk::LineString</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ada9c2ab2fbe217e196dda57e14ccd56a" name="ada9c2ab2fbe217e196dda57e14ccd56a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada9c2ab2fbe217e196dda57e14ccd56a">&#9670;&#160;</a></span>AddVertex()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void geo3dml::LineString::AddVertex </td>
          <td>(</td>
          <td class="paramtype">double</td>          <td class="paramname"><span class="paramname"><em>x</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double</td>          <td class="paramname"><span class="paramname"><em>y</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double</td>          <td class="paramname"><span class="paramname"><em>z</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classg3dvtk_1_1_line_string.html#aec99a23f5c8c47ba0486df59563aac66">g3dvtk::LineString</a>.</p>

</div>
</div>
<a id="a6060426cda9ef4e25a53179f4bd4bc16" name="a6060426cda9ef4e25a53179f4bd4bc16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6060426cda9ef4e25a53179f4bd4bc16">&#9670;&#160;</a></span>GetVertexAt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void geo3dml::LineString::GetVertexAt </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>i</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;</td>          <td class="paramname"><span class="paramname"><em>x</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;</td>          <td class="paramname"><span class="paramname"><em>y</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;</td>          <td class="paramname"><span class="paramname"><em>z</em></span>&#160;) const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classg3dvtk_1_1_line_string.html#a62b1d33dbb1ad1c15681a9a3f052bdef">g3dvtk::LineString</a>.</p>

</div>
</div>
<a id="a9ad56b15a428987ef3ac1e3e0458fa61" name="a9ad56b15a428987ef3ac1e3e0458fa61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ad56b15a428987ef3ac1e3e0458fa61">&#9670;&#160;</a></span>GetVertexCount()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int geo3dml::LineString::GetVertexCount </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classg3dvtk_1_1_line_string.html#acd28be30799b651233a0381423af981d">g3dvtk::LineString</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/geo3dml/<a class="el" href="geo3dml_2_line_string_8h_source.html">LineString.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
